package com.sqx.modules.fiction.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sqx.common.utils.Result;
import com.sqx.modules.fiction.entity.NFiction;
import com.sqx.modules.fiction.entity.dto.GetFictionListDto;
import com.sqx.modules.fiction.entity.dto.SelFictionListDto;

public interface FictionService extends IService<NFiction> {
    Result getFictionList(GetFictionListDto getFictionListDto);

    Result getFictionById(Long id);

    Result updateFictionById(NFiction fiction);

    Result deleteFictionById(Long[] id);

    Result addFiction(NFiction fiction);

    Result selFictionList(SelFictionListDto selFictionListDto);

    Result getFictionDetail(Long fictionId);
}
